<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
 <div id="content">
<marquee onmouseover="this.stop();" onmouseout="this.start();" behavior="scroll"   direction="left" scrollamount="6" width="100%">

<h3 style="color: red;">Within 12 hours we will contact you directly to confirm again.</h3>

</marquee><br>
<br>
<h2 style="color:white;">Order Confirmation</h2><br>
<div class="CSSTableGenerator"  >
												<table >
													<tr>
														<td style="color: black;">
														STT															
														</td>
														<td style="color: black;">
															Product Name
														</td>
														<td style="color: black;">
															Pice 
														</td>
														<td style="color: black;">
															Image
														</td>
														<td style="color: black;">
															Factory
														</td>	
														<td style="color: black;">
															Warrty
														</td>																																					
													</tr>
														
													<s:if test="listcard.size()>0">	
													<s:iterator value="listcard" var="lsc" status="status">													
													<tr>
														<td>
															<s:property value='(#status.index+1)'/>																																																																													
														</td>
														
														<td>
														<a href="/chitiet?id=<s:property value='#lsc.product.getId()'/>"><s:property value='#lsc.product.getName()'/></a>	
														</td>
														
														<td>
														$ &nbsp;	<s:property value='#lsc.product.getPice()'/>	
														</td>
														
														<td>
															<img width="50px" height="50px" src="/resource/image/<s:property value='#lsc.product.image'/>" alt="Product Image" />	
														</td>
														
														<td>
														<s:property value='#lsc.product.factory.getName()'/>	
														</td>
														
														<td>
														<s:property value='#lsc.warranty'/>	
														</td>																										
													</tr>	
													</s:iterator>
													<tr>
														<td>
														<h3 style="color:black;">Finish</h3>																																																																													
														</td>
														
														<td>
														<h3 style="color:black;">Transportation Costs</h3>	
														</td>
														
														<td>
														<h3 style="color:black;">$ 3</h3>	
														</td>
														
														<td>
															
														</td>
														
														<td>
														
														</td>
														
														<td>
														
														</td>																										
													</tr>
													</s:if>
													<s:else>	
													
													</s:else>
																																																																																																																		
												</table>
												</div>
												<br>
													<div align="right" >
													Total : <input style="width: 100px; height: 30px;" readonly="readonly" type="text" name="name" value="$&nbsp;<s:property value='tongtien'/>"/>
													</div>
													<div align="center" ><h2 style="color: red;"><s:property value='messenger'/></h2></div>
												<form action="Confim" id="comfimbuyproduct" method="post">
													
												<div class="buttonslogin">
                                     			<a class="button" id="comfim" href="#">Comfim</a><br>                                                                       
                                				</div> 
                                				
                                				</form>
												
												<div>
												<h3 style="color:white;">Forms Of Payment : </h3>
												<h3 style="color:white;">Direct Payment On Delivery</h3>			
												<br>																					 
												</div>
												<div align="center" ><h2 style="color: red;"><s:property value='thongbao'/></h2></div>
					
</div>
<script type="text/javascript">
$(document).ready( 
		function() {
				$("#comfim").click(function(){
 				$("#comfimbuyproduct").submit();				
				});
		});
</script>
				

 